import request from '@/utils/request'

// 查询融合通信点检列表
export function listRhtxdj (query) {
  return request({
    url: '/rhtx/dj/list',
    method: 'get',
    params: query
  })
}
// 查询融合通信点检列表
export function exportRhtxdj (query) {
  return request({
    url: '/rhtx/dj/export',
    method: 'post',
    params: query
  })
}
// 查询融合通信点检详细
export function getRhtxdj (id) {
  return request({
    url: '/rhtx/dj/' + id,
    method: 'get'
  })
}

// 新增融合通信点检
export function addRhtxdj (data) {
  return request({
    url: '/rhtx/dj',
    method: 'post',
    data: data
  })
}

// 修改融合通信点检
export function updateRhtxdj (data) {
  return request({
    url: '/rhtx/dj',
    method: 'put',
    data: data
  })
}

// 删除融合通信点检
export function delRhtxdj (id) {
  return request({
    url: '/rhtx/dj/' + id,
    method: 'delete'
  })
}
